#include<stdio.h>

//attempt to enter machine mode (to do some bad things)
#define test_csrw() ({ \
  asm volatile ("csrw sscratch, 0"); })

int main()
{
	printf("user mode test illegal instruction! \n");
	//
	test_csrw();
	return 0;
}

